package cate.game.demo.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBDemo;
import cate.game.demo.po.DemoRunnerPO;
import easy.java.dev.note.NoteField;
import lombok.ToString;

@ToString
@ClientMsg(title = "演示行走 の 请求")
public class DemoWalkReq implements MsgInput {

    @NoteField(value = "位置", detail = "行走的目标位置", example = "1093")
    public int pos;

    @NoteField(value = "话语", detail = "行走的时候说的话", example = "你好~")
    public String say;

    @NoteField("跑步者")
    public DemoRunnerPO runner;

    @Override
    public MsgConfig conf() {
        return MsgIdBDemo.WALK_REQ;
    }

    @Override
    public void execute(GameBody game, ClientContext cc) {

    }
}
